import request from "@/utils/request";

const path = '/employee'

// 登录
export const login = (data) => {
  return request({
    url: path + '/login',
    method: 'post',
    data
  })
}

// 退出登录
export const logout = () => {
  return request({
    url: path + '/logout',
    method: 'post'
  })
}
